<?php

abstract class McCube_Template_Parser_Abstract
    implements McCube_Template_Parser_Interface{

    /**
     * Constructor
     *
     * @param object $parser
     * @return void
     */
    public function __construct($parser){
        $this->parser = $parser;
    }

    /**
     *
     *
     * @param string $string
     * @return string
     */
    protected function _stripSlashes($string){
        return str_replace(
              '\\'.McCube_Template_Parser::$delimiters[1]
            , McCube_Template_Parser::$delimiters[1]
            , $string
        );
    }

}